﻿<?xml version="1.0" encoding="utf-8"?>
<Body Name="PM25分析仪" ModifyTime="2012-12-01 10:10:00">
	<Hardware>
		<Net1>192.168.0.123:1234</Net1>
		<COM1>9600,8,N,1</COM1>
		<COM2>9600,8,N,1</COM2>
		<COM3>9600,8,N,1</COM3>
		<COM4>9600,8,N,1</COM4>
		<ADCARD>0x300</ADCARD>
		<CNTCARD>0x200</CNTCARD>
	</Hardware>
	<Software SoftVersion="PM25-2013-05-050000">
		<DataCollect>
			<!-- <Protocol Name="Modbus" Path="\HardDisk\DC_modbus.dll" Status="checked"> -->	
			<!-- <Protocol Name="Modbus" Path="D:\MyProjects\EA Project\CEP\src\debug\ModbusRTU.dll" Status="checked"> 	 --> 
			<Protocol Name="ART2933PC104" Path="\硬盘\cep\PcART2933Comm.dll" Status="checked"> 		  	
			</Protocol>
<!-- 			<Protocol Name="ART2543PC104" Path="\硬盘\cep\PcART2543Comm.dll" Status="checked"> 		  	
			</Protocol> -->
		</DataCollect>
		<DataConversion/>
		<DataSave>
			<Protocol Status="False" Name="AveragePer" Path="\Drivers\DS_Average.dll" Status="checked">
				<BeginTime>12:04</BeginTime>
				<Interval>1</Interval>
			</Protocol>
			<Protocol Status="False" Name="COD" Path="\硬盘\cep\CODDataSaveLogic.dll">
				<Para>10</Para>
				<Para>1</Para>
			</Protocol>
			<Protocol Status="checked" Name="PM25" Path="\硬盘\cep\PM25DataSaveLogic.dll">
				<Para>10</Para>
				<Para>1</Para>
			</Protocol>
		</DataSave>
		<UI/>
		<DataTrans>
			<!-- <Protocol Name="TransModbus" Path="\硬盘\cep\Trans_Modbus.dll" Status="checked">
				<Port>Com4</Port>
			</Protocol>
			 -->
			 <Protocol Name="TransModbusRTU" Path="\硬盘\cep\DataTransModbusRTU.dll" Status="checked">
				<Port>4</Port>
			</Protocol>
			<Protocol Name="TransModbusTCP" Path="\硬盘\cep\Trans_ModbusTCP.dll" Status="False">
				<Addr>192.168.0.123:1234</Addr>
			</Protocol>
		    <Protocol Name="TransHJT212" Path="\硬盘\cep\Trans_HJT212.dll" Status="False">
				<Addr>192.168.0.123:1234</Addr>
			</Protocol>
		</DataTrans>
		<CTRL>				
			<!-- <Protocol Name="CtrlNH3N" Path="D:\MyProjects\EA Project\CEP\src\debug\CtrlNH3N.dll" Status="checked">  -->
			<Protocol Name="PM25Control" Path="\硬盘\cep\CtrlPM.dll" Status="checked">
			</Protocol>
		</CTRL>
		<SEQPlugin>				
			<!-- <Protocol Name="CtrlNH3N" Path="D:\MyProjects\EA Project\CEP\src\debug\CtrlNH3N.dll" Status="checked">  -->
			<Protocol Name="PM25Plugin" Path="\硬盘\cep\PM25Plugin.dll" Status="checked">
			</Protocol>
		</SEQPlugin>
		<SEQ>
			<Sequence Name="PlatUpload" Path="\硬盘\cep\SequenceFile\PlatUpload.txt" 	BeginTime="" Interval=""/>
			<Sequence Name="ZDJGo" Path="\硬盘\cep\SequenceFile\ZDJGo.txt" 	BeginTime="" Interval=""/>
			<Sequence Name="PlatDown" Path="\硬盘\cep\SequenceFile\PlatDown.txt" 	BeginTime="" Interval=""/>
			<Sequence Name="CleanStateCount" Path="\硬盘\cep\SequenceFile\CleanStateCount.txt" 	BeginTime="" Interval=""/>
			<Sequence Name="CQBBegain" Path="\硬盘\cep\SequenceFile\CQBBegain.txt" 	BeginTime="" Interval=""/>
			<Sequence Name="BlackStateCount" Path="\硬盘\cep\SequenceFile\BlackStateCount.txt" 	BeginTime="" Interval=""/>
			<Sequence Name="SEQ" Path="\硬盘\cep\SequenceFile\SEQ.txt" 	BeginTime="" Interval=""/>				
		</SEQ>
	</Software>
	<Instrument>
		<!--变量类型：
		1.实时测量值、状态值（数采单元反复采集该值）
		2.采集值的修正值 (修正类型1的值，可能1个实时值存在多个修正值)
		3.经过修正后的采集值	(数据处理单元处理后的值，用于显示、保存、控制、外围通讯模块)
		4.可写变量 （用于下发指令）		
		-->
		<!--CMD说明：1,0,0,0,100
		1.读取DI或AD，0是DI，1代表AD
		2.首通道
		3.末通道
		4.增益
		5.每次读取数据的个数
		-->
		<Device DevName="ART2933ADDA" ProtocolName="ART2933PC104" ConnectPort="ADCARD" Interval="100" TimeOut="200" Desc="阿尔泰AD采集卡">	
			<DataType1>
				<Var Name="AUXAD1" DataLength="8"  Cmd="1,0,0,0,100" Desc="环境温度"/>	
				<Var Name="AUXAD2" DataLength="8"  Cmd="1,1,1,0,100" Desc="采样管温度"/>	
				<Var Name="AUXAD3"  DataLength="8"  Cmd="1,2,2,0,100" Desc="气道温度"/>	
				<Var Name="AUXAD4" DataLength="8"  Cmd="1,3,3,0,100" Desc="流量1"/>
				<Var Name="AUXAD5" DataLength="8"  Cmd="1,4,4,0,100" Desc="差压"/>	
				<Var Name="AUXAD6" DataLength="8"  Cmd="1,5,5,0,100" Desc="大气压"/>	
				<Var Name="AUXAD7"  DataLength="8"  Cmd="1,6,6,0,100" Desc="气道湿度"/>	
				<Var Name="AUXAD8" DataLength="8"  Cmd="1,7,7,0,100" Desc="ADJ2高压2"/>
				<Var Name="AUXAD9" DataLength="8"  Cmd="1,8,8,0,100" Desc="光散射"/>	
				<Var Name="AUXAD10" DataLength="8"  Cmd="1,9,9,0,100" Desc="ADJ1高压1"/>	
				<Var Name="AUXAD11"  DataLength="8"  Cmd="1,10,10,0,100" Desc="AVDD5V"/>	
				<Var Name="AUXAD12" DataLength="8"  Cmd="1,11,11,0,100" Desc="NC"/>
				<Var Name="AUXAD13"  DataLength="8"  Cmd="1,12,12,0,100" Desc="流量2"/>	
				<Var Name="AUXAD14" DataLength="8"  Cmd="1,13,13,0,100" Desc="机箱温度"/>
				<Var Name="AUXAD15" DataLength="8"  Cmd="1,14,14,0,100" Desc="-12V"/>
				<Var Name="AUXAD16" DataLength="8"  Cmd="1,15,15,0,100" Desc="+12v"/>
				<Var Name="DI0" DataLength="8"  Cmd="0,0,0,0,0" Desc="平台光耦"/>
				<Var Name="DI1" DataLength="8"  Cmd="0,1,0,0,0" Desc="纸带光耦"/>	
			</DataType1>
			<DataType2>
				<!-- 吸收系数 下面这两个参数都是通过校准膜校准得出的值-->
				<Var Name="Um" DataLength="8" Value="0.321"/>
				<!-- 质量ug/cm2,等待称重后手动输入的值，零膜与跨膜的差值 -->
				<Var Name="DMess" DataLength="8" Value="808"/>
				<!-- 样气湿度 -->
				<Var Name="YQSD" DataLength="8" Value="0.79"/>
				<!-- 流量补偿值 -->
				<Var Name="LLBCZ" DataLength="8" Value="0.79"/>	
				<!-- 流量单位 0 µg/m3,1 mg/m3 -->
				<Var Name="CLDW" DataLength="8" Value="0"/>
				<!-- 增益补偿值 -->
				<Var Name="ZYBCZ" DataLength="8" Value="0.79"/>				
				<!-- 测量量程 -->
				<Var Name="CLLC" DataLength="8" Value="0.79"/>				
				<!-- 截距补偿值 -->
				<Var Name="JJBCZ" DataLength="8" Value="0.79"/>
				<!-- 标况大气压101kpa -->
				<Var Name="BKPA" DataLength="8" Value="101"/>				
				<!-- 标况温度257相对于绝对零度 -->
				<Var Name="BKTEMP" DataLength="8" Value="257"/>
				<!-- 测量方式 -->
				<Var Name="CLFS" DataLength="8" Value="0"/>
				<!-- 仪器类型 -->
				<Var Name="YQLX" DataLength="8" Value="0"/>				
				<!-- 语言选择 -->
				<Var Name="YYXZ" DataLength="8" Value="0"/>
			</DataType2>
			<DataType3>
				<Var Name="AUXAD1_out" DataLength="8"  Cmd="AUXAD1*0.986+2.529" ChannelName="" ChannelUnit="" Code="" DigitPos="" IsSave="" AlarmLow="" AlarmHigh="" Desc="环境温度"/>	
				<Var Name="AUXAD2_out" DataLength="8"  Cmd="AUXAD2" ChannelName="" ChannelUnit="" Code="" DigitPos="" IsSave="" AlarmLow="" AlarmHigh="" Desc="采样管温度"/>	
				<Var Name="AUXAD3_out"  DataLength="8"  Cmd="AUXAD3" ChannelName="" ChannelUnit="" Code="" DigitPos="" IsSave="" AlarmLow="" AlarmHigh="" Desc="气道温度"/>	
				<Var Name="AUXAD4_out" DataLength="8"  Cmd="AUXAD4*1.093+0.168" ChannelName="" ChannelUnit="" Code="" DigitPos="" IsSave="" AlarmLow="" AlarmHigh="" Desc="流量1"/>
				<Var Name="AUXAD5_out" DataLength="8"  Cmd="AUXAD5" ChannelName="" ChannelUnit="" Code="" DigitPos="" IsSave="" AlarmLow="" AlarmHigh="" Desc="差压"/>	
				<Var Name="AUXAD6_out" DataLength="8"  Cmd="AUXAD6+21.171" ChannelName="" ChannelUnit="" Code="" DigitPos="" IsSave="" AlarmLow="" AlarmHigh="" Desc="大气压"/>	
				<Var Name="AUXAD7_out"  DataLength="8"  Cmd="AUXAD7" ChannelName="" ChannelUnit="" Code="" DigitPos="" IsSave="" AlarmLow="" AlarmHigh="" Desc="气道湿度"/>	
				<Var Name="AUXAD8_out" DataLength="8"  Cmd="AUXAD8" ChannelName="" ChannelUnit="" Code="" DigitPos="" IsSave="" AlarmLow="" AlarmHigh="" Desc="ADJ2高压2"/>
				<Var Name="AUXAD9_out" DataLength="8"  Cmd="AUXAD9" ChannelName="" ChannelUnit="" Code="" DigitPos="" IsSave="" AlarmLow="" AlarmHigh="" Desc="光散射"/>	
				<Var Name="AUXAD10_out" DataLength="8"  Cmd="AUXAD10" ChannelName="" ChannelUnit="" Code="" DigitPos="" IsSave="" AlarmLow="" AlarmHigh="" Desc="ADJ1高压1"/>	
				<Var Name="AUXAD11_out"  DataLength="8"  Cmd="AUXAD11" ChannelName="" ChannelUnit="" Code="" DigitPos="" IsSave="" AlarmLow="" AlarmHigh="" Desc="AVDD5V"/>	
				<Var Name="AUXAD12_out" DataLength="8"  Cmd="AUXAD12" ChannelName="" ChannelUnit="" Code="" DigitPos="" IsSave="" AlarmLow="" AlarmHigh="" Desc="NC"/>				
				<Var Name="AUXAD13_out"  DataLength="8"  Cmd="AUXAD13" ChannelName="" ChannelUnit="" Code="WLQ" DigitPos="" IsSave="" AlarmLow="" AlarmHigh="" Desc="流量2"/>	
				<Var Name="AUXAD14_out" DataLength="8"  Cmd="AUXAD14" ChannelName="" ChannelUnit="" Code="" DigitPos="" IsSave="" AlarmLow="" AlarmHigh="" Desc="机箱温度"/>
				<Var Name="AUXAD15_out" DataLength="8"  Cmd="AUXAD15" ChannelName="" ChannelUnit="" Code="" DigitPos="" IsSave="" AlarmLow="" AlarmHigh="" Desc="-12V"/>	
				<Var Name="AUXAD16_out" DataLength="8"  Cmd="AUXAD16" ChannelName="" ChannelUnit="" Code="" DigitPos="" IsSave="" AlarmLow="" AlarmHigh="" Desc="+12v"/>				
				<Var Name="DI0_out" DataLength="8"  Cmd="DI0" ChannelName="" ChannelUnit="" Code="" DigitPos="" IsSave="" AlarmLow="" AlarmHigh="" Desc="平台光耦"/>	
				<Var Name="DI1_out" DataLength="8"  Cmd="DI1" ChannelName="" ChannelUnit="" Code="" DigitPos="" IsSave="" AlarmLow="" AlarmHigh="" Desc="纸带光耦"/>
				<Var Name="FinalData_out" DataLength="8"  Cmd="AUXAD1" ChannelName="" ChannelUnit="" Code="PM25" DigitPos="" IsSave="1" AlarmLow="" AlarmHigh="" Desc="最终测试数据"/>
				<Var Name="FinalData_outS" DataLength="8"  Cmd="AUXAD1" ChannelName="" ChannelUnit="" Code="SND" DigitPos="" IsSave="" AlarmLow="" AlarmHigh="" Desc="最终测试数据"/>
			</DataType3>			
		</Device>		
		<!--CMD说明：0,0,0,1,1000
		1.通道
		2.计数器工作模式
		3.计数初值
		4.计数器方式：加计数或减计数[0：减计数，1：加计数]	
		5.测频准确度的定时高电平脉冲时间[100——1000ms]		
		-->
<!-- 	   <Device DevName="ART2543" ProtocolName="ART2543PC104" ConnectPort="CNTCARD" Interval="100" TimeOut="200" Desc="阿尔泰计数卡">	
			<DataType1>
				<Var Name="FBCNT0" DataLength="4" Cmd="0,0,0,1,1000" Desc="方波计数1"/>	
				<Var Name="FBCNT1" DataLength="4" Cmd="1,1,0,1,1000" Desc="方波计数2"/>	
			</DataType1>
			<DataType2>
				<Var Name="var3_revise1" DataLength="4" Value="1.15"/>
				<Var Name="var3_revise2" DataLength="4" Value="0.79"/>
				<Var Name="var3_revise"  DataLength="4" Value="2.13"/>
			</DataType2>
			<DataType3>
				<Var Name="FBCNT0_out" DataLength="4"  Cmd="FBCNT0" ChannelName="" ChannelUnit="" Code="" DigitPos="" IsSave="" AlarmLow="" AlarmHigh="" Desc="环境温度"/>	
				<Var Name="FBCNT1_out" DataLength="4"  Cmd="FBCNT1" ChannelName="" ChannelUnit="" Code="" DigitPos="" IsSave="" AlarmLow="" AlarmHigh="" Desc="采样管温度"/>	
				
			</DataType3>
		</Device> -->
		
	</Instrument>
</Body>
"/>	
				<Var Name="FBCNT1_out" DataLength="4"  Cmd="FBCNT1" ChannelName="" ChannelUnit="" Code="" DigitPos="" IsSave="" AlarmLow="" AlarmHigh="" Desc="采样管温度"/>	
				
			</DataType3>
		</Device> -->
		
	</Instrument>
</Body>
